package com.ygsoft.activiti.reposirory;


import com.ygsoft.activiti.model.CompleteTask;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * 中间操作表类
 *
 * @author zhx
 * @create 2017-11-28 14:31
 **/
@Repository
@Transactional
public interface CompleteTaskReposirory  extends PagingAndSortingRepository<CompleteTask,String> {
    Page<CompleteTask> findByUserId(String userId, Pageable pageable);
}
